<?php
	$host = "localhost";
	$user = "root";
	$pass = "default";
	$database = "questdb";
	
	$con = mysql_connect($host, $user, $pass);
	mysql_select_db($database);

/*	if (!$con)
	{
		echo "Failed to connect to $host <br />"; 
	}	// for debugging only
	else
	{
		if (mysql_select_db($database))
			echo "Connected to database!<br />";  
		else
			echo "Still failing..<br />";
	}
*/	
	
?>